package com.oocl.crm.base;


/**
 * 双向链表节点
 * @author GANAB
 *
 */
public class DNode<T> {
	public DNode<T> prev;
	public DNode<T> next;
	public T data;

	public DNode() {
	}

	public DNode(T data) {
		this.data = data;
	}

	public DNode(DNode<T> prev, T data, DNode<T> next) {
		this.prev = prev;
		this.next = next;
		this.data = data;
	}

	public DNode<T> getPrev() {
		return prev;
	}

	public void setPrev(DNode<T> prev) {
		this.prev = prev;
	}

	public DNode<T> getNext() {
		return next;
	}

	public void setNext(DNode<T> next) {
		this.next = next;
	}

	public T getData() {
		return data;
	}

	public void setData(T data) {
		this.data = data;
	}

}
